var assert = require("assert");
const parseArgs = require("../bin/parseArgs");
describe("imooc-ls", function () {
  describe("parseArgs", function () {
    it("args test", function () {
      const { args, isList, isAll } = parseArgs();
      assert.equal(isList, false);
      assert.equal(isAll, false);
      assert.equal(args.length, 1);
      assert.equal(args[0], "test/test.js");
    });
  });
});
